Event.observe(window, 'load', thefeatureinit, false);

function thefeatureinit() {
	$('makefeature').checked = false;
	$('makefeature').onclick = function() { new Effect.toggle('featureContent', 'appear', {duration: 0.5}) };
	document.getElementsByClassName('featurepic').each(function(item){
		$(item).onclick = function(){ 
			document.getElementsByClassName('selectedFeature').each(function(item){
				Element.removeClassName(item, 'selectedFeature');
			});
			$(item).className = 'selectedFeature';
		};
	});
}